package com.java2.date;

import java.util.Calendar;
public class DateDemo {
	public static void main(String[] args) {
		Calendar calendar = Calendar.getInstance();
		int month = calendar.get(Calendar.MONTH);
		System.out.println(month);
	}

}
